package com.jiyun.service;

import com.github.pagehelper.PageInfo;
import com.jiyun.pojo.Activity;

public interface ActivityService {
    PageInfo<Activity> findAll(Activity activity, Integer pageNo, Integer pageSize);

    void delete(Integer id);

    void add(Activity activity);

    Activity findById(Integer id);

    void update(Activity activity);
}
